
#region Using Statements
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;

using Microsoft.Xna.Framework.Input;

using JigLibX.Collision;
using JigLibX.Physics;
using JigLibX.Geometry;
using JigLibX.Math;
using Microsoft.Xna.Framework.Graphics;
#endregion

namespace Game1
{
    public class Enemy
    {
        public int id;
        protected float speed;
        protected Matrix orientation;
        Camera camera;
        String name;
        public PhysicObject model;
        private Vector3 position;
        BoundingSphere boundingSphere;

        public Vector3 getPosition() { return model.PhysicsBody.Position; }
        public void setPosition(Vector3 position) { model.PhysicsBody.Position = position; }
        
        
        public Enemy(String name, PhysicObject model)
        {
            this.name = name;
            this.model = model;
            id = 0;
            boundingSphere = new BoundingSphere(model.PhysicsBody.Position,1.0f);
            
        }
        
        public BoundingSphere getBoundingSphere()
        {
            boundingSphere.Center = model.PhysicsBody.Position;
            return boundingSphere;
        }
     }
}
